package com.lyf.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 用户和超市关联 t_user_supermarket
 **/
public class UserSupermarket
{

    private Long id;

    /** 用户ID */
    private Long userId;

    /** 超市ID */
    private Long supermarketId;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }



    public Long getSupermarketId() {
        return supermarketId;
    }

    public void setSupermarketId(Long supermarketId) {
        this.supermarketId = supermarketId;
    }

    public Long getUserId()
    {
        return userId;
    }

    public void setUserId(Long userId)
    {
        this.userId = userId;
    }


    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
             .append("id",getId())
            .append("userId", getUserId())
            .append("postId", getSupermarketId())
            .toString();
    }
}
